package org.iabako.shared.iservice.user;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import org.iabako.shared.entity.user.User;

/**
 * Created by jose on 06/01/15.
 */

@RemoteServiceRelativePath("iabakoServices/extranet/emailVerificationService")
public interface EmailVerificationService extends RemoteService {

    User sendKeyCode(String email, boolean userExistsVerification);

    boolean verifyKeyCode(String email, String keyCode);
}
